/**
 * 模拟后端填写控件 JSON 数据
 */

/** 已填写的控件 */
export const filled = [
  {
    id: 'gm7bgbtntqo',
    type: 3,
    signStyle: 3,
    label: '单行文本',
    name: '深圳市大米有限公司-小爱',
    p: 0,
    w: 160,
    h: 30,
    x: 350,
    y: 850,
    widgetName: '',
    widgetValue: '这个是单行长文本单行长文本单行长文本单行长文本单行长文本',
    isRequired: true,
    fontSize: 14,
    fontType: 3,
    align: 'left',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: '8ultqn6bnd',
    type: 4,
    signStyle: 4,
    label: '多行文本',
    name: '深圳市大米有限公司-小爱',
    p: 0,
    w: 160,
    h: 50,
    x: 350,
    y: 900,
    widgetName: '',
    widgetValue:
      '这个是多行长文本这个是多行长文本这个是多行长文本这个是多行长文本这个是多行长文本这个是多行长文本这个是多行长文本',
    isRequired: true,
    fontSize: 16,
    fontType: 0,
    align: 'center',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  }
]

/** 填写中的控件 */
export const filling = [
  {
    id: 'ff0msq6lcco',
    type: 4,
    signStyle: 4,
    label: '多行文本',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 200,
    h: 60,
    x: 466,
    y: 220,
    widgetName: '多行文本控件',
    widgetValue: '',
    isRequired: true,
    fontSize: 18,
    fontType: 3,
    align: 'center',
    placeholder: '自定义占位文本',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: 'i3n72spjbv8',
    type: 3,
    signStyle: 3,
    label: '单行文本',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 160,
    h: 30,
    x: 350,
    y: 350,
    widgetName: '单行文本1',
    widgetValue: '这个是单行带有默认值',
    isRequired: true,
    fontSize: 14,
    fontType: 3,
    align: 'left',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: 'a7ip4q44uco',
    type: 4,
    signStyle: 4,
    label: '多行文本',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 160,
    h: 50,
    x: 350,
    y: 400,
    widgetName: '多行文本1',
    widgetValue: '',
    isRequired: false,
    fontSize: 16,
    fontType: 3,
    align: 'center',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: 'b0toacj01lo',
    type: 5,
    signStyle: 5,
    label: '勾选框',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 16,
    h: 16,
    x: 350,
    y: 460,
    widgetName: '单选框1',
    widgetValue: false,
    isRequired: false
  },
  {
    id: 'clar9m8n9ro',
    type: 6,
    signStyle: 6,
    label: '附件',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 140,
    h: 30,
    x: 350,
    y: 720,
    widgetName: '附件',
    widgetValue: '',
    isRequired: true
  },
  {
    id: 'imcuikffhgg',
    type: 9,
    signStyle: 9,
    label: '数字',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 160,
    h: 30,
    x: 350,
    y: 510,
    widgetName: '数字1',
    widgetValue: '',
    isRequired: true,
    fontSize: 16,
    fontType: 3,
    align: 'left',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: '8q40mr48bl',
    type: 11,
    signStyle: 11,
    label: '填写日期',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 160,
    h: 30,
    x: 350,
    y: 560,
    widgetName: '日期1',
    widgetValue: '',
    isRequired: true,
    fontSize: 16,
    fontType: 3,
    align: 'left',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: 'dor0muif06o',
    type: 10,
    signStyle: 10,
    label: '身份证号',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 160,
    h: 30,
    x: 350,
    y: 610,
    widgetName: '身份证号1',
    widgetValue: '',
    isRequired: true,
    fontSize: 16,
    fontType: 3,
    align: 'left',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0
  },
  {
    id: 'oa0uvl3vus',
    type: 13,
    signStyle: 13,
    label: '复选框',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 32,
    h: 112,
    x: 427,
    y: 821,
    widgetName: '复选框1',
    widgetValue: '[false,false,false]',
    isRequired: true,
    childWidgetList: [
      {
        type: 13,
        p: 0,
        w: 16,
        h: 16,
        x: 427,
        y: 781,
        widgetName: '选项1',
        widgetValue: false,
        showBorder: false,
        isRequired: true
      },
      {
        type: 13,
        p: 0,
        w: 16,
        h: 16,
        x: 427,
        y: 821,
        widgetName: '选项2',
        widgetValue: false,
        showBorder: false,
        isRequired: true
      },
      {
        type: 13,
        p: 0,
        w: 16,
        h: 16,
        x: 427,
        y: 861,
        widgetName: '选项3',
        widgetValue: false,
        showBorder: false,
        isRequired: true
      }
    ]
  },
  {
    id: '9vaef4vpkqg',
    type: 12,
    signStyle: 12,
    label: '单选框',
    name: '深圳市法大大有限公司-小智',
    p: 0,
    w: 32,
    h: 112,
    x: 134,
    y: 819,
    widgetName: '单选框1',
    widgetValue: '[false,false,false]',
    isRequired: true,
    childWidgetList: [
      {
        type: 12,
        p: 0,
        w: 16,
        h: 16,
        x: 134,
        y: 779,
        widgetName: '选项1',
        widgetValue: false,
        radioType: 2,
        showBorder: false,
        isRequired: true
      },
      {
        type: 12,
        p: 0,
        w: 16,
        h: 16,
        x: 134,
        y: 819,
        widgetName: '选项2',
        widgetValue: false,
        radioType: 2,
        showBorder: false,
        isRequired: true
      },
      {
        type: 12,
        p: 0,
        w: 16,
        h: 16,
        x: 134,
        y: 859,
        widgetName: '选项3',
        widgetValue: false,
        radioType: 2,
        showBorder: false,
        isRequired: true
      }
    ]
  },
  {
    id: 'kga5aarme8',
    type: 14,
    signStyle: 14,
    label: '下拉选择',
    name: '深圳市法大大有限公司-小智',
    p: 1,
    w: 198,
    h: 40,
    x: 346.79998779296875,
    y: 100,
    widgetName: '下拉选择1',
    widgetValue: '',
    isRequired: true,
    fontSize: 18,
    fontType: 2,
    align: 'center',
    placeholder: '',
    isDecimalLimit: false,
    numberFormat: 2,
    thousands: false,
    dateFormat: 0,
    selectOptions: ['选项1A', '选项2B']
  },
  {
    id: 'fs26ca81pbg',
    type: 8,
    signStyle: 8,
    label: '图片',
    name: '深圳市法大大有限公司-小智',
    p: 1,
    w: 245,
    h: 184,
    x: 400,
    y: 255,
    widgetName: '图片1',
    widgetValue: '',
    isRequired: true,
    imageName: '',
    aspectRatio: '4:3'
  },
  {
    id: 'q360l0sm94',
    type: 16,
    signStyle: 16,
    label: '表格',
    name: '深圳市法大大有限公司-小智',
    p: 1,
    w: 500,
    h: 128,
    locateType: 1,
    x: 150,
    y: 400,
    widgetName: '表格-set',
    widgetValue: '',
    isRequired: true,
    fontSize: 16,
    fontType: 3,
    align: 'left',
    placeholder: '',
    tableOptions: {
      rows: 3,
      cols: 4,
      rowHeight: 32,
      colWidthDefault: 100,
      headerHeight: 32,
      headerPosition: 0,
      headerHidden: false,
      dynamic: false,
      requiredCount: 1
    },
    tableFields: [
      { label: '姓名', placeholder: '', required: true },
      { label: '电话', placeholder: '', required: true },
      { label: '地址', placeholder: '', required: false },
      { label: '备注', placeholder: '', required: false }
    ],
    colWidthPercent: [100, 120, 150, 150],
    tableInsertWay: 2
  }
]
